package service;

import pojo.Cart;
import pojo.Order;
import pojo.OrderItem;
import pojo.Page;

import java.util.List;

/**
 * @author Wxt
 * @create 2022-02-12 13:44
 */
public interface OrderService {
    String createOrder(Cart cart,int userId);
    List<Order> showAllOrders();
    void sendOrder(String orderId);
    List<OrderItem> showOrderDetail(String orderId);
    List<Order> showMyOrders(int userId);
    void receiverOrder(String orderId);
    Page<Order> page(int pageNo,int pageSize);
}
